using System;
using UnityEngine;

namespace JEngine.Core
{
    public static partial class ConstMgr
    {
        public const string DLLSourceFolder = "Assets/HotUpdateResources/Main/Dll/Hidden~/";
        public const string PdbSourceFolder = "Assets/HotUpdateResources/Main/Dll/Hidden~/";
        public const string PdbBytesFolder = "Assets/HotUpdateResources/Main/Dll/";
        public const string DLLBytesFolder = "Assets/HotUpdateResources/Main/Dll/";
        public const string MainHotDLLName = "HotFixPro";
        public const string ExprFlag = "_expr";
        public const string DLLExtension = ".dll";
        public const string PdbExtension = ".pdb";
        public const string BytesExtension = ".bytes";
        
        public const float Bytes2Mb = 1f / (1024 * 1024);
        
        public static byte[] NullBytes => Array.Empty<byte>();
        public static object[] NullObjects => Array.Empty<object>();
        
        public static WaitForSecondsRealtime WaitFor1Sec = new WaitForSecondsRealtime(0.001f);
    }
}